package com.erp.shop.service;

import com.erp.shop.domain.bo.ErpSellerStoreEmpowerBo;
import com.erp.shop.domain.bo.ErpSellerStoreRecordBo;
import com.erp.shop.domain.dto.ErpSellerStoreRecordDto;
import com.erp.shop.domain.vo.ErpSellerStoreRecordVo;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.web.oldPage.TableDataInfo;

import java.util.Collection;

/**
 * @Description: 经公司开通或添加的所有店铺信息列表Service接口
 * @Author: j.zh
 * @Date: 2024/7/6
 * @Version: 4.2.0
**/
public interface IErpSellerStoreRecordService {

    /**
     * 查询店铺信息列表
     */
    TableDataInfo<ErpSellerStoreRecordDto> queryPageList(ErpSellerStoreRecordBo bo, PageQuery pageQuery);


    /**
     * 新增店铺信息
     */
    Boolean insertByBo(ErpSellerStoreRecordBo bo);

    /**
     * 修改店铺信息
     */
    Boolean updateByBo(ErpSellerStoreRecordBo bo);

    /**
     * 校验并批量删除店铺信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
